package com.ivanceras.shared.db;

public class Filter {
	public static final String LESS_THAN = "LESS_THAN";
	public static final String LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL";
	public static final String EQUAL = "EQUAL";
	public static final String GREATER_THAN = "GREATER_THAN";
	public static final String GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL";
	public static final String NOT_EQUAL = "NOT_EQUAL";
	public static final String IN = "IN";
	public static final String LIKE = "LIKE";
	
	public String attribute;
	public String operator;
	public Object value;
	
	public Filter(String attribute, String operator, Object value){
		this.attribute = attribute;
		this.operator = operator;
		this.value = value;
	}
}
